Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit feddcfc639b97db603092938ce9519b759d02ff2


Parents : 9fe7632
Author : Mark Qvist <mark@unsigned.io>
Date : 2023-10-25T02:58:36+02:00

Added missing error log

Changes

1 files changed, 1 insertions(+), 1 deletions(-)


Diff

diff --git a/sbapp/sideband/core.py b/sbapp/sideband/core.py
index 4d8c41c6..69d261d9 100644
--- a/sbapp/sideband/core.py
+++ b/sbapp/sideband/core.py
@@ -770,7 +770,7 @@ class SidebandCore():
if context_dest == self.lxmf_destination.hash and limit == 1:
try:
return [[self.latest_telemetry["time"]["utc"], self.latest_packed_telemetry]]
- except:
+ except Exception as e:
RNS.log("An error occurred while retrieving telemetry from the database: "+str(e), RNS.LOG_ERROR)
return []


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────